From f31620f8a0a73901552457c6b631dab0127970e3 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 15 Jun 2007 16:30:10 +0100 Subject: [PATCH] kexec: Flush console on kexec_crash(). Signed-off-by: Keir Fraser --- xen/common/kexec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xen/common/kexec.c b/xen/common/kexec.c index c0fe6d2396..577492fec0 100644 --- a/xen/common/kexec.c +++ b/xen/common/kexec.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #ifndef COMPAT @@ -110,6 +111,8 @@ void kexec_crash(void) if ( !test_bit(KEXEC_IMAGE_CRASH_BASE + pos, &kexec_flags) ) return; + console_start_sync(); + one_cpu_only(); kexec_crash_save_cpu(); machine_crash_shutdown(); -- 2.30.2